const express = require('express');
const router = express.Router();
const statsController = require('../controllers/statsController');

// 获取统计数据
router.get('/', statsController.getStats.bind(statsController));

// 获取订单趋势
router.get('/trend', statsController.getOrderTrend.bind(statsController));

module.exports = router;

